package com.wjc.httpsettings;

public class HttpServerSettings {
	private static int   localPort;
	private static String proxyHost;
	private static int proxyPort;
	private static String username;
	private static String password;

	public static String getProxyHost() {
		return proxyHost;
	}
	public static void setProxyHost(String proxyHost) {
		HttpServerSettings.proxyHost = proxyHost;
	}
	public static int getProxyPort() {
		return proxyPort;
	}
	public static void setProxyPort(int proxyPort) {
		HttpServerSettings.proxyPort = proxyPort;
	}
	public static String getUsername() {
		return username;
	}
	public static void setUsername(String username) {
		HttpServerSettings.username = username;
	}
	public static String getPassword() {
		return password;
	}
	public static void setPassword(String password) {
		HttpServerSettings.password = password;
	}

	public static int getLocalPort() {
		return localPort;
	}
	public static void setLocalPort(int localPort) {
		HttpServerSettings.localPort = localPort;
	}
	public static void set(String proxyHost,int proxyPort,String username,String password,int localPort){
		HttpServerSettings.proxyHost=proxyHost;
		HttpServerSettings.proxyPort=proxyPort;
		HttpServerSettings.username=username;
		HttpServerSettings.password=password;
		HttpServerSettings.localPort=localPort;
	}
	public static HttpServerSettings getDefaultSettings(){
		return null;
	}
}
